#ifndef SYNCED_LAMP_CENTROIDS_H_
#define SYNCED_LAMP_CENTROIDS_H_

#include <boost/thread/mutex.hpp>
#include <libplayerinterface/player.h>
#include <vector>

using boost::mutex;
using std::vector;

class SyncedLampCentroids {
private:
  mutex mutex_;
  vector<player_point_2d> lamp_centroids_;
public:
  void set_lamp_centroids(const vector<player_point_2d> &lamp_centroids);
  vector<player_point_2d> lamp_centroids();
};
#endif
